'''
Created on Mar 6, 2010

@author: Nick Heiner
'''
import os
from google.appengine.ext.webapp import template

def render(filename, main, template_values): 
    path = os.path.join(os.path.dirname(__file__), filename)
    main.response.out.write(template.render(path, template_values))
